home *** CD-ROM | disk | FTP | other *** search
/ Programming Microsoft Visual Basic .NET / Programming Microsoft Visual Basic .NET (Microsoft Press)(X08-78517)(2002).bin / setup / vbnet / 23 web forms and controls / firstwebforms / webform1.aspx < prev   
Encoding:
ASP.NET Web Form  |  2002-03-17  |  1.1 KB  |  25 lines

  1. <%@ Page Language="vb" AutoEventWireup="false" Codebehind="WebForm1.aspx.vb" Inherits="FirstWebForms.WebForm1"%>
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
  3. <HTML>
  4.     <HEAD>
  5.         <title>WebForm1</title>
  6.         <meta name="GENERATOR" content="Microsoft Visual Studio.NET 7.0">
  7.         <meta name="CODE_LANGUAGE" content="Visual Basic 7.0">
  8.         <meta name="vs_defaultClientScript" content="JavaScript">
  9.         <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
  10.     </HEAD>
  11.     <body>
  12.         <form id="Form1" method="post" runat="server">
  13.             <P> 
  14.                 <asp:Label id="Label1" runat="server" Font-Bold="True" Font-Size="X-Large">Your First Web Form</asp:Label></P>
  15.             <P>This form demonstrates the basic postback feature of all Web Forms</P>
  16.             <P>
  17.                 <asp:TextBox id="txtOne" runat="server" Width="88px"></asp:TextBox>
  18.                 <asp:Label id="Label2" runat="server"> + </asp:Label>
  19.                 <asp:TextBox id="txtTwo" runat="server" Width="84px"></asp:TextBox>
  20.                 <asp:Button id="btnAdd" runat="server" Text=" = "></asp:Button>
  21.                 <asp:TextBox id="txtResult" runat="server" Width="84px"></asp:TextBox></P>
  22.         </form>
  23.     </body>
  24. </HTML>
  25.